package com.platform.car.model;

public class Lock {

    /**
     * ID
     */
    private Integer id;

    /**
     * 编号
     */
    private String number;

    /**
     * 停车场的ID
     */
    private Integer parkingId;

    /**
     * 地锁的状态
     */
    private  String  lockIo;

    /**
     * 当前地锁的状态
     */
    private String status;

    /**
     * 当前地锁是否被绑定（0：未被绑定  1：已被绑定）
     */
    private String bindingState;

    /**
     * 停车场的名称
     */
    private String parkingName;

    /**
     * 組織的id
     */
    private Integer  orgId;

    /**
     * 查找
     */
    private  String search;

    public Lock() {
    }

    public Lock(Integer id, String number, Integer parkingId, String lockIo, String status) {
        this.id = id;
        this.number = number;
        this.parkingId = parkingId;
        this.lockIo = lockIo;
        this.status = status;
    }

    public Lock(Integer parkingId, String bindingState) {
        this.parkingId = parkingId;
        this.bindingState = bindingState;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getParkingId() {
        return parkingId;
    }

    public void setParkingId(Integer parkingId) {
        this.parkingId = parkingId;
    }

    public String getLockIo() {
        return lockIo;
    }

    public void setLockIo(String lockIo) {
        this.lockIo = lockIo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getParkingName() {
        return parkingName;
    }

    public void setParkingName(String parkingName) {
        this.parkingName = parkingName;
    }

    public String getBindingState() {
        return bindingState;
    }

    public void setBindingState(String bindingState) {
        this.bindingState = bindingState;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    public Lock(Integer id, String number, Integer parkingId, String lockIo, String status, String bindingState, String parkingName, Integer orgId, String search) {
        this.id = id;
        this.number = number;
        this.parkingId = parkingId;
        this.lockIo = lockIo;
        this.status = status;
        this.bindingState = bindingState;
        this.parkingName = parkingName;
        this.orgId = orgId;
        this.search = search;
    }
}
